package com.david.fastmsg.repository;

import com.david.fastmsg.modal.Album;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface AlbumRepository extends JpaRepository<Album, Integer> {

    List<Album> findByUserId(String userId);
}
